From 1149fdc054842d57abe185ca65ec629006fb1ac8 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 28 Oct 2003 23:40:57 +0000 Subject: [PATCH] Fix track timestamp endianness on read . git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@538 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mapsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/mapsource.c b/gpsbabel/mapsource.c index 3106939bb..669555409 100644 --- a/gpsbabel/mapsource.c +++ b/gpsbabel/mapsource.c @@ -1260,7 +1260,7 @@ mps_track_r(FILE *mps_file, int mps_ver, route_head **trk) thisWaypoint = xcalloc(sizeof(*thisWaypoint), 1); thisWaypoint->latitude = lat / 2147483648.0 * 180.0; thisWaypoint->longitude = lon / 2147483648.0 * 180.0; - thisWaypoint->creation_time = dateTime; + thisWaypoint->creation_time = le_read32(&dateTime); thisWaypoint->centiseconds = 0; thisWaypoint->altitude = mps_altitude; route_add_wpt(track_head, thisWaypoint); -- 2.30.2